$OpenBSD: patch-Makefile,v 1.4 2015/04/23 14:47:10 gonzalo Exp $
--- Makefile.orig	Thu Nov  1 19:42:16 2012
+++ Makefile	Mon Jan 26 12:06:01 2015
@@ -5,7 +5,7 @@ PREFIX=/usr/local
 CONF_PREFIX=$(PREFIX)
 
 DATA_PATH=$(PREFIX)/share/smplayer
-DOC_PATH=$(PREFIX)/share/doc/packages/smplayer
+DOC_PATH=$(PREFIX)/share/doc/smplayer
 TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations
 THEMES_PATH=$(PREFIX)/share/smplayer/themes
 SHORTCUTS_PATH=$(PREFIX)/share/smplayer/shortcuts
@@ -17,15 +17,6 @@ KDE_PREFIX=$(PREFIX)
 KDE_ICONS=$(KDE_PREFIX)/share/icons/hicolor/
 KDE_APPLNK=$(KDE_PREFIX)/share/applications/
 
-QMAKE=qmake
-LRELEASE=lrelease
-
-DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
-     TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \
-     DOC_PATH=\\\"$(DOC_PATH)\\\" THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
-     SHORTCUTS_PATH=\\\"$(SHORTCUTS_PATH)\\\"
-
-
 ifdef KDE_SUPPORT
 
 # KDE paths, change if necessary
@@ -59,7 +50,7 @@ install: src/smplayer
 	install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
 
 	-install -d $(DESTDIR)$(DOC_PATH)
-	tar -C docs/ --exclude=.svn -c -f - . | tar -C $(DESTDIR)$(DOC_PATH) -x -f -
+	cp -r docs/* $(DESTDIR)$(DOC_PATH)
 
 	-install -d $(DESTDIR)$(SHORTCUTS_PATH)
 	cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
@@ -88,9 +79,9 @@ install: src/smplayer
 	-install -d $(DESTDIR)$(KDE_APPLNK)
 	install -m 644 smplayer.desktop $(DESTDIR)$(KDE_APPLNK)
 	install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(KDE_APPLNK)
-	-install -d $(DESTDIR)$(PREFIX)/share/man/man1/
-	install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/share/man/man1/
-	gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
+	-install -d $(DESTDIR)$(PREFIX)/man/man1/
+	install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/man/man1/
+#	gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
 
 uninstall:
 	-rm -f $(PREFIX)/bin/smplayer
